import {createApp} from 'vue'
import './style.css'
import App from './App.vue'
import router from "./routers/index.ts";
import { createPinia } from 'pinia'
import piniaPersist from 'pinia-plugin-persist'
import * as echarts from "echarts";
import '@/assets/css/global.css'
import VueCookies from 'vue-cookies'
import UUID from 'vue3-uuid'


const pinia = createPinia()
const app = createApp(App)
pinia.use(piniaPersist)
app.use(pinia)
app.use(VueCookies);
app.config.globalProperties.$echarts = echarts;
app.use(UUID)
app.use(router)
app.mount('#app')
